from fastapi import FastAPI
from fastapi.responses import HTMLResponse

app = FastAPI()


@app.get("/")
async def root():
    html = """
    <html><body>
        <h1>Hello World!</h1>
    </body></html>
    """
    return HTMLResponse(content=html, status_code=200)
